Skip to content

fix: improve ai prompts#654

Merged
Reversean merged 1 commit into
masterfrom
fix/cto-instruction-change
Jul 21, 2026
Merged

fix: improve ai prompts#654
Reversean merged 1 commit into
masterfrom
fix/cto-instruction-change

Conversation

@FeironoX5

Copy link
Copy Markdown
Contributor

Currently model doesn't provide valid markdown, e.g. it doesn't use indentation for nested lists. To fix that, formatting guide added to intructions.

@Reversean
Reversean force-pushed the fix/cto-instruction-change branch from c6b30b4 to f924399 Compare July 18, 2026 22:22
@Reversean
Reversean force-pushed the fix/cto-instruction-change branch 2 times, most recently from 1692044 to cbb982b Compare July 21, 2026 17:05
Restructure the CTO instruction prompt with explicit Markdown
formatting rules (consistent list indentation, no tabs, no nested
code blocks) so the model's output renders correctly.

Switch to deepseek/deepseek-v4-flash and add a gateway provider
fallback order (novita, azure, deepseek) so requests survive a
single provider outage. Drop the now-unneeded hand-written ambient
types for the `ai`/`@ai-sdk/openai` modules.

Co-authored-by: Gleb Kiva <feironox5@gmail.com>
@Reversean
Reversean force-pushed the fix/cto-instruction-change branch from cbb982b to 52ae696 Compare July 21, 2026 17:30
@Reversean
Reversean merged commit 276a4a0 into master Jul 21, 2026
7 checks passed
@Reversean
Reversean deleted the fix/cto-instruction-change branch July 21, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants